package com.example.lms;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class HelloController {
    @GetMapping("/")
    public String hello() {
        return "index";
    }

    @GetMapping("/login")
    public String login() {
        return "login";
    }

    @GetMapping("/register")
    public String register() {
        return "register";
    }

    @GetMapping("/password-reset")
    public String passwordRest() {
        return "password-reset";
    }

    @GetMapping("/resources")
    public String resources() {
        return "resources";
    }

    @GetMapping("/resources-show")
    public String resourcesShow() {
        return "resources-show";
    }

    @GetMapping("/videos")
    public String videos() {
        return "videos";
    }

    @GetMapping("/videos-show")
    public String videosShow() {
        return "videos-show";
    }

    @GetMapping("/videos-show-lecture")
    public String videosShowLecture() {
        return "videos-show-lecture";
    }

    @GetMapping("/docs")
    public String docs() {
        return "docs";
    }

    @GetMapping("/docs-show")
    public String docsShow() {
        return "docs-show";
    }

    @GetMapping("/posts")
    public String posts() {
        return "posts";
    }

    @GetMapping("/posts-show")
    public String postsShow() {
        return "posts-show";
    }
}
